package whileDemo;

public class WhileDemo1 {
	public static void main(String[] args) {
		int i = 100;
		int sum = 0;
		while(i <= 200) {
			sum += i;
			i ++;
		}
		System.out.println(sum);
		System.out.println(i);
	}
}
